WooCommerce\PayPalCommerce\Button\Endpoint\ChangeCartEndpoint S

Total Complexity 26
Dependencies 10
Dependents 2
Total lines 281
Lines of code 137
Logical lines of code 57
Comment lines 93
Methods 9
Properties 6

Methods 9

Method Rating Maintainability Complexity Lines of code
products_from_data()
A
53 8 24
handle_data()
S
48 6 36
handle_request()
S
58 4 16
handle_error()
S
53 2 26
add_variable_product()
S
60 2 13
__construct()
S
67 1 8
nonce()
S
80 1 3
add_product()
S
78 1 3
generate_purchase_units()
S
69 1 8